Skip to content

Make the IPC tracks hidden by default during the first profile load#3908

Merged
canova merged 1 commit into
firefox-devtools:mainfrom
canova:hide-ipc-tracks
May 10, 2023
Merged

Make the IPC tracks hidden by default during the first profile load#3908
canova merged 1 commit into
firefox-devtools:mainfrom
canova:hide-ipc-tracks

Conversation

@canova

@canova canova commented Feb 24, 2022

Copy link
Copy Markdown
Member

Fixes #3888.

Let's not make them visible by default, so they wouldn't take up a lot of space in the timeline. People still can always make them visible by using the tracks context menu if they are interested in them.

Example profile: production / deploy preview

@canova canova requested a review from julienw February 24, 2022 13:12
Comment on lines -255 to -276
height="400"
width="400"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why we don't have these anymore, but they are still not changed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe you need to call flushRafCalls(); after dispatching showLocalTrack.

@codecov

codecov Bot commented Feb 24, 2022

Copy link
Copy Markdown

Codecov Report

Patch coverage: 85.71% and project coverage change: -1.30 ⚠️

Comparison is base (36bad68) 88.63% compared to head (c16fa80) 87.33%.

❗ Current head c16fa80 differs from pull request most recent head 671c350. Consider uploading reports for the commit 671c350 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3908      +/-   ##
==========================================
- Coverage   88.63%   87.33%   -1.30%     
==========================================
  Files         293      278      -15     
  Lines       25990    23774    -2216     
  Branches     6998     6272     -726     
==========================================
- Hits        23035    20764    -2271     
- Misses       2749     2771      +22     
- Partials      206      239      +33     
Impacted Files Coverage Δ
src/profile-logic/tracks.js 82.98% <85.71%> (+0.19%) ⬆️

... and 147 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@julienw julienw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks good to me

Comment on lines -255 to -276
height="400"
width="400"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe you need to call flushRafCalls(); after dispatching showLocalTrack.

@canova canova force-pushed the hide-ipc-tracks branch from c16fa80 to 671c350 Compare May 10, 2023 11:09
@canova

canova commented May 10, 2023

Copy link
Copy Markdown
Member Author

When I was working on IPC markers, I had decided to keep this PR open so it could be easier for me to work on them.

But it's been a while since then and I forgot this PR. There is bug-1832144, which depends on this PR to land first. Let's land it now. Rebased it on top of the current main branch.

@canova canova merged commit 054e70b into firefox-devtools:main May 10, 2023
@canova canova deleted the hide-ipc-tracks branch May 10, 2023 11:20
@canova canova mentioned this pull request May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide the IPC tracks by default

2 participants